package com.xqboss.apps.domain.equipment;

import com.baomidou.mybatisplus.annotation.TableId;
import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.enums.equipment.UpgradeConfigCoefficientEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 装备升级加点-配置(瑕疵,耐久,破损)
 *
 * @author wangcong
 * @date 2023-11-23
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ApiModel("装备升级加点-配置(瑕疵,耐久,破损)")
public class EquipmentUpgradeConfigCoefficient extends BaseTable {

    private static final long serialVersionUID = 1L;


    /**
     * 主键id
     */
    @TableId
    @ApiModelProperty("主键id")
    private Long id;

    /**
     * 概率
     */
    @ApiModelProperty("概率")
    private BigDecimal probability;

    /**
     * 爆率
     */
    @ApiModelProperty("爆率")
    private BigDecimal burstRate;

    /**
     * 升级配置id
     */
    @ApiModelProperty("升级配置id")
    private Long upgradeConfigId;

    /**
     * 升级配置类型 1 瑕疵概率,2耐久修复,3破损修复
     */
    @ApiModelProperty("升级配置类型 1 瑕疵概率,2耐久修复,3破损修复")
    private UpgradeConfigCoefficientEnum type;

}